home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / gnu_oleo_1_2_2.lha / oleo-1.2.2 / regions.h < prev    next >
C/C++ Source or Header  |  1993-03-03  |  2KB  |  62 lines

  1. #ifndef REGIONSH
  2. #define REGIONSH
  3.  
  4. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this software; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21. /*  t. lord    Sat Aug  8 15:48:59 1992    */
  22.  
  23. #include "global.h"
  24.  
  25.  
  26. struct cmp
  27. {
  28.   char mult;
  29.   CELLREF row;
  30.   CELLREF col;
  31. };
  32.  
  33. extern struct rng sort_rng;
  34. extern struct rng sort_ele;
  35. extern struct cmp *sort_keys;
  36. extern int sort_keys_num;
  37. extern int sort_keys_alloc;
  38.  
  39. #ifdef __STDC__
  40. extern int cmp_cells (int, int);
  41. extern void swp_cells (int, int);
  42. extern void rot_cells (int, int);
  43. extern void set_rng (struct rng *, CELLREF, CELLREF, CELLREF, CELLREF);
  44. extern void lock_region (struct rng *, int);
  45. extern void format_region (struct rng *, int, int);
  46. extern void sort_region (void);
  47. #else
  48. extern int cmp_cells ();
  49. extern void swp_cells ();
  50. extern void rot_cells ();
  51. extern void set_rng ();
  52. extern void lock_region ();
  53. extern void format_region ();
  54. extern void sort_region ();
  55. #endif
  56.  
  57.  
  58. extern unsigned short print_width;
  59. extern struct rng all_rng;
  60.  
  61. #endif
  62.